Optimal. Leaf size=34 \[ \frac{\log (\sinh (c+d x))}{a d}-\frac{\log (a+b \sinh (c+d x))}{a d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0473075, antiderivative size = 34, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.21, Rules used = {2721, 36, 29, 31} \[ \frac{\log (\sinh (c+d x))}{a d}-\frac{\log (a+b \sinh (c+d x))}{a d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2721
Rule 36
Rule 29
Rule 31
Rubi steps
\begin{align*} \int \frac{\coth (c+d x)}{a+b \sinh (c+d x)} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{x (a+x)} \, dx,x,b \sinh (c+d x)\right )}{d}\\ &=\frac{\operatorname{Subst}\left (\int \frac{1}{x} \, dx,x,b \sinh (c+d x)\right )}{a d}-\frac{\operatorname{Subst}\left (\int \frac{1}{a+x} \, dx,x,b \sinh (c+d x)\right )}{a d}\\ &=\frac{\log (\sinh (c+d x))}{a d}-\frac{\log (a+b \sinh (c+d x))}{a d}\\ \end{align*}
Mathematica [A] time = 0.0213791, size = 28, normalized size = 0.82 \[ \frac{\log (\sinh (c+d x))-\log (a+b \sinh (c+d x))}{a d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.001, size = 35, normalized size = 1. \begin{align*}{\frac{\ln \left ( \sinh \left ( dx+c \right ) \right ) }{da}}-{\frac{\ln \left ( a+b\sinh \left ( dx+c \right ) \right ) }{da}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.08305, size = 101, normalized size = 2.97 \begin{align*} -\frac{\log \left (-2 \, a e^{\left (-d x - c\right )} + b e^{\left (-2 \, d x - 2 \, c\right )} - b\right )}{a d} + \frac{\log \left (e^{\left (-d x - c\right )} + 1\right )}{a d} + \frac{\log \left (e^{\left (-d x - c\right )} - 1\right )}{a d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.39192, size = 170, normalized size = 5. \begin{align*} -\frac{\log \left (\frac{2 \,{\left (b \sinh \left (d x + c\right ) + a\right )}}{\cosh \left (d x + c\right ) - \sinh \left (d x + c\right )}\right ) - \log \left (\frac{2 \, \sinh \left (d x + c\right )}{\cosh \left (d x + c\right ) - \sinh \left (d x + c\right )}\right )}{a d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\coth{\left (c + d x \right )}}{a + b \sinh{\left (c + d x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.32442, size = 85, normalized size = 2.5 \begin{align*} \frac{\frac{\log \left (e^{\left (d x + c\right )} + 1\right )}{a} - \frac{\log \left ({\left | b e^{\left (2 \, d x + 2 \, c\right )} + 2 \, a e^{\left (d x + c\right )} - b \right |}\right )}{a} + \frac{\log \left ({\left | e^{\left (d x + c\right )} - 1 \right |}\right )}{a}}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]